package com.mo2323.merchant.config;


import com.mo2323.merchant.MerchantApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author 高岐
 * @date 2019-01-22.
 */
public class ServletInitializer extends SpringBootServletInitializer {

    @Override

    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {

        return application.sources(MerchantApplication.class);

    }

}